<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="resources/js/user/user.js"></script>
<title></title>
</head>
<body>
	<div>
		<div class="easyui-layout" data-options="fit: true">
			<div class="easyui-panel" data-options="region:'center', border:false">
				<table id="org_userGrid" data-options="fit:true, border:false,toolbar:'#org_userGrid_toolbar'"></table>
				<div id="org_userGrid_toolbar">
					<input type="text" name="nickname" class="easyui-textbox"  id="user_nickname" data-options="width:150,prompt: '用户名'"/>
					<a href="#" class="easyui-linkbutton app-toolbar-button" data-options="plain:true" onclick="queryUser()"><i class="fa fa-search color-icon"></i>查询</a>
					<a href="#" class="easyui-linkbutton app-toolbar-button" data-options="plain:true" onclick="addUser()"><i class="fa fa-plus color-icon"></i>添加</a>
					<!-- <a href="#" class="easyui-linkbutton app-toolbar-button" data-options="plain:true" onclick="deleteUser()"><i class="fa fa-trash color-icon"></i>删除</a>
					<a href="#" class="easyui-linkbutton app-toolbar-button" data-options="plain:true" onclick=" distributeRole()"><i class="fa fa-bell color-icon"></i>分配角色</a>
					<a href="#" class="easyui-linkbutton app-toolbar-button" data-options="plain:true" onclick="addUserPerson()"><i class="fa fa-user color-icon"></i>绑定人员</a> -->
				</div>
			</div>
		</div>
		<div id="org_addUserWin" closed="true" class="easyui-window app-winow-base"  title="添加用户" data-options="modal:true,minimizable:false,collapsible:false,maximizable:false,resizable:false">   
			<form id="addUserForm">
				<div class="margin5">
					<label class="label-right5">用户名</label>
					<input class="app-winow-input easyui-validatebox" type="text" name="username" id="" data-options="required:true"/>
					<span>（用户登录账号名）</span>
				</div>
				<div class="margin5">
					<label class="label-right5">姓名</label>
					<input class="app-winow-input easyui-validatebox" type="text" name="name" id="" data-options="required:true"/>
				</div>
				<div class="margin5">
					<label class="label-right5">密码</label>
					<input class="easyui-textbox easyui-validatebox app-window-password" type="password" name="password" id="orgUser_password" data-options="required:true,validType:'length[6,20]'"/>
					<span>（长度在6~20位之间）</span>
				</div>
				<div class="margin5">
					<label class="label-right5">确认密码</label>
					<input class="app-window-password easyui-textbox easyui-validatebox" type="password" name="confirmPassword" id="orgUser_confirmPassword" data-options="required:true,validType:'length[6,20]'"/>
					<span id="password-css" class="app-two-password">*两次输入密码不一致</span>
				</div>
				<div class="margin5">
					<label class="label-right5">组别</label>
					<input class="app-winow-input easyui-validatebox" type="text" name="group" id="" data-options="required:true"/>
				</div>
				<div class="app-window-div">
					<a href="#" class="easyui-linkbutton app-window-saveBtn" onclick="addUser_saveOK()">保存</a>
					<a href="#" class="easyui-linkbutton app-window-cancelBtn" onclick="addUser_cancelOK()">取消</a>
				</div>
			</form>
		</div> 
		<div id="org_addUserRoleWin" closed="true" class="easyui-window person-window" title="分配角色" data-options="modal:true,minimizable:false,collapsible:false,maximizable:false,resizable:false">   
			<table id="org_addRoleGrid" data-options="fit:true, border:false,toolbar:'#org_addRoleGrid_toolbar'"></table>
			<div id="org_addRoleGrid_toolbar">
				<a href="#" class="easyui-linkbutton app-toolbar-button" data-options="plain:true" onclick="addUserRole_saveOK()"><i class="fa fa-save color-icon"></i>保存</a>
			</div>
		</div>
		<div id="org_addUserPersonWin" closed="true" class="easyui-window person-window" title="绑定人员" data-options="modal:true,minimizable:false,collapsible:false,maximizable:false">   
			<table id="org_addUserPersonGrid" data-options="fit:true, border:false,toolbar:'#org_addUserPersonGrid_toolbar'"></table>
			<div id="org_addUserPersonGrid_toolbar">
				<input name="oid"  id="addGroupsPerson_oid" data-options="width:150,prompt: '机构'"/>
				<input name="oid"  id="addGroupsPerson_gid" data-options="width:150,prompt: '群组'"/>
				<input name="" id="user_personNameSearch" />
				<a href="#" class="easyui-linkbutton app-toolbar-button" data-options="plain:true" onclick="addUserPerson_saveOK()"><i class="fa fa-save color-icon"></i>保存</a>
			</div>
		</div>
	</div>
</body>
</html>